package com.whfp.coky.action

import android.content.Context
import androidx.recyclerview.widget.RecyclerView
import com.scwang.smart.refresh.layout.SmartRefreshLayout
import com.whfp.coky.ui.base.BaseAdapter

/**
 *
 * recyclerview相关的接口
 * created by coky on 2022/3/10
 */
interface RecyclerViewAction<T> {
     fun initAdapter(context: Context): BaseAdapter<*, T>
     fun initRecycler(): RecyclerView
     fun initRefreshLayout(): SmartRefreshLayout
}